package com.lfy.Factor.comm.abs;

import com.lfy.Factor.comm.CaoFacotry;
import org.springframework.beans.factory.InitializingBean;

public abstract class CaoS implements InitializingBean {
    protected abstract boolean parse(Integer code);
    protected abstract String name();

    void register( ){
        AbsFacotry.getInstance().register(this);
    }
}
